export default {

	getInitInputDataData() {
		return {
			waybill_sn: '', //运单号
			goodsn: '', //货号

			to_address: "",
			to_province_id: "",
			to_city_id: "",
			to_county_id: "",
			to_province_name: "",
			to_city_name: "",
			to_county_nane: "",
			system_line_price: "0",
			system_markup_price: "0",

			line_id: '',
			company_id: '', //物流公司id
			company_name: '', //物流公司
			memberno: "",

			deliver_point: '', //发货网站id
			deliver_point_name: '', //发货网站
			arrival_point: '', //收货网站id
			arrival_point_name: '', //收货网站

			send_username: '',
			send_mobile: '',
			send_city: '',
			send_address: '',
			send_province_id: '',
			send_city_id: '',
			send_area_id: '',
			send_card: "",
			send_accountname: "", //户号
			send_account: "", //银行卡号
			send_bankname: "", //银行名称

			take_addressid: '0',
			take_username: '',
			take_mobile: '',
			take_city: '',
			take_address: '',
			take_province_id: '',
			take_city_id: '',
			take_area_id: '',

			goods: [{
				goods_name: '',
				goods_pack: '',
				goods_nums: "1",
				total_weight: "1",
				total_volume: "1",
			}],

			order_amount: '', //运费
			pickup_fee: '0', //接货费
			delivery_fee: '0', //送货费
			information_fee: '0', //信息费
			transit_fee: '0', //中转费
			insurance_fee: '0',
			transit_destination: '', //中转城市
			advance_amount: '0', //代收款
			open_order_fee: "0",
			operating_fee: "0",
			platform_amount: "0",
			
			order_amount_pay: "20",
			order_amount_pay_name:'提付',
			pickup_fee_pay: "20",
			delivery_fee_pay: "20",
			information_fee_pay: "20",
			transit_fee_pay: "20",
			go_upstairs_fee_pay: "20",
			all_order_amount: "0",
			carry_order_amount: "0",
			now_order_amount: "0",
			pay_from: '20', //支付方式
			delivery_type: '1', //配送方式
			delivery_type_name:'自提',
			is_receipt: '1', //回单收条:1=无需,2=回单
			receipt_type: "", //回单类型
			receipt_type_name:'',
			receipt_num: "",
			is_unusual: '1', //是否是异形件:1=否,2=是
			is_control: "1",//是否控货1否2是
			is_urgency: "1",//是否是急件1否2是
			remark: "",
			order_type: 10, //订单类型:10=线上,20=线下
			is_transit: "",
			pay_source: '10', //支付来源：miniapp=小程序，app=APP
			reach_type: '', //交货方式
		}
	},

	//配送方式
	getDeliveryTypeData() {
		return [{
				name: '自提',
				type: 1
			},
			{
				name: '送货上门',
				type: 2
			}
		]
	},

	//回单收条
	getReceiptTypeData() {
		return [{
				name: '无',
				type: 0
			},
			{
				name: '托运单签名盖章返回',
				type: 1
			},
			{
				name: '送货单签名盖章返回',
				type: 2
			},
			{
				name: '回单签名盖章返回',
				type: 3
			},
			{
				name: '其他',
				type: 4
			},
			{
				name: '收条',
				type: 5
			}
		]
	},

	//支付类型
	getPayFromData() {
		return [{
				name: '现付',
				type: 10
			},
			{
				name: '提付',
				type: 20
			},
			{
				name: '回单付',
				type: 30
			}
		]
	},

	//包装
	getPackFromData() {
		return [{
				name: '无',
				type: 0
			},
			{
				name: '袋',
				type: 1
			},
			{
				name: '木箱',
				type: 2
			},
			{
				name: '纸箱',
				type: 3
			},
			{
				name: '包',
				type: 4
			},
			{
				name: '桶',
				type: 5
			},
			{
				name: '盒',
				type: 6
			},
			{
				name: '捆',
				type: 7
			},
			{
				name: '筐',
				type: 8
			},
			{
				name: '托盘',
				type: 9
			},
			{
				name: '其他',
				type: 10
			}
		]
	}
}